home *** CD-ROM | disk | FTP | other *** search
- Path: keats.ugrad.cs.ubc.ca!not-for-mail
- From: c2a192@ugrad.cs.ubc.ca (Kazimir Kylheku)
- Newsgroups: comp.lang.c,comp.lang.c++
- Subject: Re: HELP! On how to declare large arrays.
- Date: 14 Mar 1996 08:40:12 -0800
- Organization: Computer Science, University of B.C., Vancouver, B.C., Canada
- Message-ID: <4i9i5cINNa8t@keats.ugrad.cs.ubc.ca>
- References: <lynch-1303962017180001@mac50.sask.trlabs.ca>
- NNTP-Posting-Host: keats.ugrad.cs.ubc.ca
-
- In article <lynch-1303962017180001@mac50.sask.trlabs.ca>,
- Denard Lynch <lynch@sask.trlabs.ca> wrote:
- >
- >I need to create an array of complex numbers that is 512 x 128 elements in
- >size. I am using Borland C, and it will not let me complie because the
- >array is too large. I have tried to increase the size when compliling to
- >be 1 Mb for static variables, it did not work.
- >
- >WHAT CAN I DO? I need the 512 x 128 array size. Any comments,
- >suggestions, or help of any kind would be appreciated. I am sure there is
- >a way around this problem but I can not find it.
-
- There are work-arounds involving using a different ``memory model'' (something
- that is specific to DOS environments). But since this is 1996, you should
- probably be upgrading to a 32-bit operating system.
-
- The C standard doesn't require your compiler to translate a program that
- contains a declaration of a 512x128 array, so it's really not a topic
- for discussion here, so there is no problem as far as this newsgroup is
- concerned. You may find more sympathy in comp.msdos.programmer.
- --
-
-